fbdb0ec5af2d291091df594911b1af98cdb863d5,core/languageDesign/generator/source_gen/jetbrains/mps/lang/generator/intentions/AddNodeMacroParam_ifMacro_Intention.java,AddNodeMacroParam_ifMacro_Intention,instances,#SNode#EditorContext#,92

Before Change



  public static List<Intention> instances(final SNode node, final EditorContext editorContext) {
    List<Intention> list = ListSequence.fromList(new ArrayList<Intention>());
    if (parameter(node, editorContext) != null) {
      for(SNode param : parameter(node, editorContext)) {
        AddNodeMacroParam_ifMacro_Intention intention = new AddNodeMacroParam_ifMacro_Intention();
        intention.myParameter = param;
        ListSequence.fromList(list).addElement(intention);

After Change



  public static List<Intention> instances(final SNode node, final EditorContext editorContext) {
    List<Intention> list = ListSequence.fromList(new ArrayList<Intention>());
    List<SNode> paramList = parameter(node, editorContext);
    if (paramList != null) {
      for(SNode param : paramList) {
        AddNodeMacroParam_ifMacro_Intention intention = new AddNodeMacroParam_ifMacro_Intention();